package marslin.android.secretary;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class PortableSecretary extends Activity {
	private static final String TAG = "PortableSecretary";

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		Thread thread = new Thread(new Runnable() {
			public void run() {
				try {
					Thread.sleep(2000);
					Intent intent = new Intent();
					intent.setClass(PortableSecretary.this, TaskMap.class);
					startActivity(intent);
					finish();
				} catch (InterruptedException ex) {
					Log.e(TAG, ex.getMessage());
				}
			}
		});
		thread.start();
	}
}